﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using webnew.BLL;
using webnew.Model;
namespace webnew.Pagebase
{
    public partial class Pagelist : System.Web.UI.MasterPage
    {     
        
        protected void ContentPlaceHolder1_Init(object sender, EventArgs e)
        {
            //this.form1.Style["width"]="1500px";
            
            //List < Model.Sys_NavigationInfo> lst=new BLL.Sys_Navigation().GetUserControl(10);
            //foreach (Model.Sys_NavigationInfo model in lst)
            //{
            //    Button btnTest = new Button();
            //    btnTest.ID = model.ControlID;
            //    btnTest.Text = model.NaviName;
            //    btnTest.CssClass = "btn";
            //    //btnTest.CommandName = model.ClassName;
            //    //btnclass.CommandName = "btn_click()";
            //    pnlBtn.Controls.Add(btnTest);
            //}
            //Button btnView = new Button();
            //btnView.ID = "btnView";
            //btnView.Text = "查看";
            //btnView.CssClass = "btn";
            ////btnTest.CommandName = "btntest";
            ////btnclass.CommandName = "btn_click()";

            //pnlBtn.Controls.Add(btnView);

            //Button btnExcel = new Button();
            //btnExcel.ID = "btnExcel";
            //btnExcel.Text = "导出Excel";
            //btnExcel.CssClass = "btn";
            ////btnTest.CommandName = "btntest";
            ////btnclass.CommandName = "btn_click()";
            //btnExcel.Width = 75;
            //pnlBtn.Controls.Add(btnExcel);
            
            
        }

       
        
    }
}
